package com.tr09.servlet;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.tr09.dao.EvaluateDAO;

/**
 * Servlet implementation class AddpinglunServlet
 */
@WebServlet("/addpinglunServlet")
public class AddpinglunServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
	private EvaluateDAO evaluateDAO=new EvaluateDAO();
    /**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		request.setCharacterEncoding("utf-8");
		String cName=request.getParameter("cName");
		String eContent=request.getParameter("eContent");
		response.sendRedirect("pinglunlist.jsp");
	}
}
